//
//  HELCourseHeader.h
//  NursingAssociation
//
//  Created by wsj2015 on 2017/2/16.
//  Copyright © 2017年 wsj2015. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HELCourseDetailModel.h"
#import "HCSStarRatingView.h"
@interface HELCourseHeader : UIView
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *picHight;

@property (weak, nonatomic) IBOutlet UIImageView *mainPic;
@property (weak, nonatomic) IBOutlet UIButton *collectBtn;
@property (weak, nonatomic) IBOutlet UILabel *lerningCount;
@property (weak, nonatomic) IBOutlet UILabel *priceL;
@property (weak, nonatomic) IBOutlet UILabel *scoreTypeL;
@property (weak, nonatomic) IBOutlet UILabel *scoreNumL;

@property (weak, nonatomic) IBOutlet UILabel *titleL;
@property (weak, nonatomic) IBOutlet UIButton *priseB;
@property (weak, nonatomic) IBOutlet HCSStarRatingView *ratingView;

@property (weak, nonatomic) IBOutlet UILabel *commentL;

@property (weak, nonatomic) IBOutlet UILabel *statuL;

+ (instancetype)sharedHeader;


@property (nonatomic,  strong) HELCourseDetailModel *courseDetail;


@property (nonatomic, copy) void (^priseBlock)( BOOL );

@property (nonatomic, copy) void (^collectBlock)( BOOL );
@end
